<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
    *{
        margin:0;
        padding: 0;
    }
        .img-container {
            width: 1154px;
            margin: auto;
        }

        .img-container > div {
            float: left;
            margin: 0 12px;
        }

        .img-container > div a {
            margin-bottom: 25px;
            box-shadow: 0px 2px 8px 0px rgba(149, 149, 149, 0.94);
            border-radius: 6px;
            overflow: hidden;
            width: 100%;
            display: block;
            position: relative;
        }

        .img-container a span {
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.5);
            position: absolute;
            left: 0;
            top: 0;
            display: none;
            box-sizing: border-box;
            padding: 0 20px;
            text-align: center;
            display: none;

        }

        .img-container a span em {
            display: table-cell;
            vertical-align: middle;
            color: white;
            font-size: 16px;
        }

        .img-container a:hover span {
            display: table;
        }

    .img-con1 {
        width: 214px;
    }

    .img-con1 a {
        height: 228px;
    }

    .img-con2 {
        width: 304px;
    }

    .img-con2 a {
        width: 304px;
        height: 481px;
    }

    .img-con3 {
        width: 246px;
    }

    .img-con3 a {
        height: 144px;
    }

    .img-con4 {
        width: 294px;
    }

    .img-con4 a {
        height: 228px;
    }
    .img-container a > img{
        transition: all .4s ease;
    }
    .img-container a:hover img {
        transform: scale(1.3);
    }

    </style>
</head>
<body>
<div class="img-container">
    <div class="img-con1">
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>

    </div>
    <div class="img-con2">
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
    </div>
    <div class="img-con3">
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
    </div>
    <div class="img-con4">
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
        <a href="javascript:void (0)" >
            <img src="https://imgs.ali213.net/IndexTJ/2022/06/24/2022062444730790.jpg"  alt="">
            <span>
                <em>嘟嘟嘟</em>
            </span>
        </a>
    </div>

</div>

</body>
</html>